The attached patch adds the support that was only stubbed in to be able
authorsmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Tue, 2 Aug 2005 09:31:47 +0000 (09:31 +0000)
committersmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Tue, 2 Aug 2005 09:31:47 +0000 (09:31 +0000)
commita89e4d770c0c2cece5c5cf4b1e93c8983a6b452f
tree9215562ed8f22806f61210e9b9562e4a8565ba60
parent8dbafbfdcc9ab62d14424bcc171025b1b4a936ca
The attached patch adds the support that was only stubbed in to be able
to support having reading the boot loader config when you're using a
whole disk (eg, file:/root/disk.img,xvda,w) as opposed to just a
partition.

This reads the partition table in the MBR to find the active partition
and then passes that offset down into the filesystem reading code.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
tools/pygrub/setup.py
tools/pygrub/src/fsys/ext2/__init__.py
tools/pygrub/src/fsys/ext2/ext2module.c
tools/pygrub/src/pygrub